package com.ssy.lingxi.member.merchant.api.model.vo.inner.response;

import java.time.LocalDateTime;

/**
 * 远程调用业务员订单明细-会员信息VO
 * @author 郑小翠
 * @version 2.02.18
 * @date 2022-03-17
 */
public class MemberSalesFindMemberQueryVO {

    /**
     * 业务员Id
     */
    private Long userId;

    /**
     * 业务员名称
     */
    private String userName;

    /**
     * 下级会员Id
     */
    private Long subMemberId;

    /**
     * 下级会员角色Id
     */
    private Long subMemberRoleId;

    /**
     * 下级会员绑定时间
     */
    private LocalDateTime bindTime;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getSubMemberId() {
        return subMemberId;
    }

    public void setSubMemberId(Long subMemberId) {
        this.subMemberId = subMemberId;
    }

    public Long getSubMemberRoleId() {
        return subMemberRoleId;
    }

    public void setSubMemberRoleId(Long subMemberRoleId) {
        this.subMemberRoleId = subMemberRoleId;
    }

    public LocalDateTime getBindTime() {
        return bindTime;
    }

    public void setBindTime(LocalDateTime bindTime) {
        this.bindTime = bindTime;
    }

    public MemberSalesFindMemberQueryVO(Long userId, String userName, Long subMemberId, Long subMemberRoleId, LocalDateTime bindTime) {
        this.userId = userId;
        this.userName = userName;
        this.subMemberId = subMemberId;
        this.subMemberRoleId = subMemberRoleId;
        this.bindTime = bindTime;
    }

    public MemberSalesFindMemberQueryVO() {
    }

    @Override
    public String toString() {
        return "MemberSalesFindMemberQueryVO{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", subMemberId=" + subMemberId +
                ", subMemberRoleId=" + subMemberRoleId +
                ", bindTime=" + bindTime +
                '}';
    }
}
